package com.letian.record.domain;

import com.letian.common.annotation.Excel;

import java.util.ArrayList;

/**
 * 族谱成员对象 record_genealogy_member
 * 
 * @author bmz
 * @date 2025-07-20
 */
public class RecordGenealogyMemberVo
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 名字 */
    @Excel(name = "名字")
    private String name;

    /** 父关系 */
    @Excel(name = "父关系")
    private String relation;

    /** 是否健在 */
    @Excel(name = "是否健在")
    private Boolean isLife;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    /** 父编号 */
    @Excel(name = "父编号")
    private Long parentId;

    /** 配偶 */
    @Excel(name = "配偶")
    private Long spouseId;

    /** 头像 */
    @Excel(name = "头像")
    private String headPortrait;

    private ArrayList<RecordGenealogyMemberVo> spouse;

    private ArrayList<RecordGenealogyMemberVo> children;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setChildren(ArrayList<RecordGenealogyMemberVo> children)
    {
        this.children = children;
    }

    public ArrayList<RecordGenealogyMemberVo> getChildren()
    {
        return children;
    }

    public void setSpouse(ArrayList<RecordGenealogyMemberVo> spouse)
    {
        this.spouse = spouse;
    }

    public ArrayList<RecordGenealogyMemberVo> getSpouse()
    {
        return spouse;
    }
    public void setHeadPortrait(String headPortrait) 
    {
        this.headPortrait = headPortrait;
    }

    public String getHeadPortrait() 
    {
        return headPortrait;
    }
    public void setRelation(String relation) 
    {
        this.relation = relation;
    }

    public String getRelation() 
    {
        return relation;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }

    public void setIsLife(Boolean isLife)
    {
        this.isLife = isLife;
    }

    public Boolean getIsLife()
    {
        return isLife;
    }

    public void setGender(String gender)
    {
        this.gender = gender;
    }

    public String getGender()
    {
        return gender;
    }
    public void setParentId(Long parentId)
    {
        this.parentId = parentId;
    }

    public Long getParentId()
    {
        return parentId;
    }
    public void setSpouseId(Long spouseId)
    {
        this.spouseId = spouseId;
    }

    public Long getSpouseId()
    {
        return spouseId;
    }
}
